package com.example.demo.struct.bridge;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Desc:
 * @Author zzz
 * @Date 2021/2/24
 * @Version V1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ConnectBridge implements Connector {

    Driver driver;

    @Override
    public void connect() {
        driver.drive();
    }
}
